// Haxzs Audio Server
// made by omghaxzs
// 2010

#ifndef SOURCEWND_H
#define SOURCEWND_H

#include "main.h"
#include "window.h"

class sourcewnd : public window {
public:
	int cursory;
	int maxlines;
	int x, y, width, height;
	sourcewnd(int, int, int, int);
	~sourcewnd();

	void sourceConnected(bool);
	void updateSourceIP(std::string);
	void updateSourceInfo(std::string, std::string, std::string);
	void updateSourceBytes(int);
	void updateSourceCache(std::string);
	void clearSourceInfo();
	void resetWindow();
};

extern sourcewnd *srcwnd;

#endif
